/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.shop.entity.order;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 订单售后Entity
 * @author 罗天文
 * @version 2018-08-22
 */
public class HkShopUserOrderAfterImages extends DataEntity<HkShopUserOrderAfterImages> {
	
	private static final long serialVersionUID = 1L;
	private HkShopUserOrderAfter after;		// 售后id 父类
	private String type;		// 类型
	private String imgSrc;		// 图片路径
	
	public HkShopUserOrderAfterImages() {
		super();
	}

	public HkShopUserOrderAfterImages(String id){
		super(id);
	}

	public HkShopUserOrderAfterImages(HkShopUserOrderAfter after){
		this.after = after;
	}

	@Length(min=0, max=32, message="售后id长度必须介于 0 和 32 之间")
	public HkShopUserOrderAfter getAfter() {
		return after;
	}

	public void setAfter(HkShopUserOrderAfter after) {
		this.after = after;
	}
	
	@Length(min=0, max=1, message="类型长度必须介于 0 和 1 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@Length(min=0, max=200, message="图片路径长度必须介于 0 和 200 之间")
	public String getImgSrc() {
		return imgSrc;
	}

	public void setImgSrc(String imgSrc) {
		this.imgSrc = imgSrc;
	}
	
}